Vec1
Functions
Link copied to clipboard
Returns the number of dimensions of the spatial object.
Link copied to clipboard
open fun eq(other: Vector1<*>, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean
Checks if two vectors are equal within a specified tolerance.
Link copied to clipboard
Returns true if any value in the spatial is infinite.
Link copied to clipboard
Calculates the squared norm of the vector.
Link copied to clipboard
Returns this vector as an immutable Vec1.
Link copied to clipboard
Returns a mutable copy of this vector as a MutableVec1.
Link copied to clipboard
Negates the vector, flipping its direction.
Link copied to clipboard
Creates a vector with the specified component.